home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / Arkanoid Flash.swf / scripts / DefineButton2_112 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2006-06-13  |  333 b   |  22 lines

  1. on(release){
  2.    if(button == "1")
  3.    {
  4.       started = "1";
  5.       button = "0";
  6.    }
  7.    else if(button == "2")
  8.    {
  9.       release = "1";
  10.       caughtBall = "0";
  11.       button = "2";
  12.    }
  13.    else if(button == "3")
  14.    {
  15.       trace("you\'ve got laser");
  16.    }
  17.    else
  18.    {
  19.       trace("you\'ve got nothing");
  20.    }
  21. }
  22.